<template>
  <div class="tabs">
      <el-tag v-for="(tag) in tags" :key="tag.name">
          {{tag.label}}
      </el-tag>
  </div>
</template>

<script>
import {mapState} from 'vuex'
  export default {
    data() {
      return {
      };
    },
    computed:{
        ...mapState({
            tags:(state) => state.tab.tabsList
        })
    }
  };
</script>

<style scoped>
</style>